package com.example.myapplication.test2;

/**
 * @author ywz
 * @date 2019/2/23 11:41
 * @email yezst30@163.com
 */
public class CourseBean {
    /**
     * 总共的倒计时的时间(结束时间-开始时间),单位：毫秒
     */
    private long totalTime;
    /**
     * 是否倒计时
     */
    private boolean isPause = true;

    public CourseBean() {

    }

    public CourseBean(long totalTime, boolean isPause) {
        this.totalTime = totalTime;
        this.isPause = isPause;
    }

    public long getTotalTime() {
        return totalTime;
    }

    public void setTotalTime(long totalTime) {
        this.totalTime = totalTime;
    }

    public boolean isPause() {
        return isPause;
    }

    public void setPause(boolean pause) {
        isPause = pause;
    }

    @Override
    public String toString() {
        return "CountDownTimerBean{" +
                "totalTime=" + totalTime +
                ", isPause=" + isPause +
                '}';
    }
}
